package com.pmx.mall.product.feign;

import com.pmx.common.utils.R;
import com.pmx.common.dto.SkuReductionDTO;
import com.pmx.common.dto.SpuBoundsDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: permission
 * @Date: 2022/10/25 15:13
 * @Version: 1.0
 * @ClassName: CouponFeignService
 * @Description:
 */
@FeignClient(name = "mall-coupon")
public interface CouponFeginService {
    @PostMapping("coupon/skufullreduction/saveinfo")
    R saveFullReductionInfo(@RequestBody SkuReductionDTO dto);

    @RequestMapping("coupon/spubounds/saveSpuBounds")
    R saveSpuBounds(@RequestBody SpuBoundsDTO spuBounds);

}
